package com.magold.logic.filter;



public abstract class BaseCollisionFilter implements CollisionFilter {
	protected CollisionFilter mInnerFilter;

	@Override
	public CollisionFilter filter(CollisionFilter pFilter) {
		// LinkedList
		if (mInnerFilter == null) {
			mInnerFilter = pFilter;
		} else {
			mInnerFilter.filter(pFilter);
		}
		
		return this;
	}

}
